home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2862 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Interesting declaration???
  5. Date: 24 Jan 1996 15:55:52 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Jan24085552@qcd.lanl.gov>
  8. References: <4e3on1$iir@masala.cc.uh.edu>
  9.     <ALUN.CHAMPION.96Jan24095654@g7240065.bridge.bst.bls.com>
  10. NNTP-Posting-Host: qcd.lanl.gov
  11. Mime-Version: 1.0
  12. Content-Type: text
  13. In-reply-to: Alun.Champion@bridge.bst.bls.com's message of 24 Jan 1996 14:56:54 GMT
  14.  
  15. --text follows this line--
  16. In article <ALUN.CHAMPION.96Jan24095654@g7240065.bridge.bst.bls.com>
  17. Alun.Champion@bridge.bst.bls.com (Alun Champion) writes: 
  18. <snip>
  19.      The enumeration are bit flags and require or'ing together (probably not
  20.        in this case) '|' is not defined on enums and must be converted to
  21.        an integer type.
  22.  
  23. What? enums are integral types as well. (All enumerated types, signed
  24. and unsigned char,short, int and long, as well as plain char are all
  25. integral types.) '|' does need integral types.
  26.  
  27. Cheers
  28. Tanmoy
  29.  
  30.  
  31. --
  32. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  33. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  34. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  35. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  36. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  37. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  38.